package cn.breeze.org.service;

import cn.breeze.org.domain.Shop;
import cn.breeze.basic.service.IBaseService;
import cn.breeze.org.domain.ShopAuditLog;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author breeze
 * @since 2022-07-01
 */
public interface IShopService extends IBaseService<Shop> {

    /**
    * @Title: settlement
    * @Description: 店铺入驻
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/2 17:14
    * @Parameters: [shop]
    * @Return void
    */
    void settlement(Shop shop);

    /**
    * @Title: auditPass
    * @Description: 审核通过
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/2 17:15
    * @Parameters: [shopAuditLog]
    * @Return void
    */
    void auditPass(ShopAuditLog shopAuditLog);

    /**
    * @Title: auditReject
    * @Description: 审核驳回
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/2 17:15
    * @Parameters: [shopAuditLog]
    * @Return void
    */
    void auditReject(ShopAuditLog shopAuditLog);

    /**
    * @Title: auditFail
    * @Description: 审核拒绝
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/2 17:18
    * @Parameters: [shopAuditLog]
    * @Return void
    */
    void auditFail(ShopAuditLog shopAuditLog);

    /**
    * @Title: useActivation
    * @Description: 激活
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/3 12:52
    * @Parameters: [id]
    * @Return void
    */
    void useActivation(Long id);

    /**
    * @Title: patchAdd
    * @Description: excel导入
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/3 12:52
    * @Parameters: [shops]
    * @Return void
    */
    void patchAdd(List<Shop> shops);

    /**
    * @Title: reportShop
    * @Description: 店铺报表
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/3 14:31
    * @Parameters: []
    * @Return java.util.Map<java.lang.String,java.lang.Object>
    */
    Map<String, Object> reportShop();
}
